﻿#region zh-CHS 2006 - 2007 DemoSoft 团队 | en 2006 - 2007 DemoSoft Team

//     NOTES
// ---------------
//
// This file is a part of the G.O.S.E(Game Online Server Engine) for .NET.
//
//                 2006-2007 DemoSoft Team
//
//
// First Version : by H.Q.Cai - mailto:caihuanqing@hotmail.com

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU Lesser General Public License as published
 *   by the Free Software Foundation; either version 2.1 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

#region zh-CHS 包含名字空间 | en Include namespace
using System;
using System.Threading;
using Demo_G.O.S.E.ServerEngine.Util;
#endregion

namespace Demo_G.O.S.E.ServerEngine.Creature
{
    /// <summary>
    /// BaseMobile Delta
    /// </summary>
    public class BaseCreatureState
    {
        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateSerial = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsUpdateSerial
        {
            get { return m_UpdateSerial; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateX = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsUpdateX
        {
            get { return m_UpdateX; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateY = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsUpdateY
        {
            get { return m_UpdateY; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateZ = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsUpdateZ
        {
            get { return m_UpdateZ; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateOrientation = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsUpdateOrientation
        {
            get { return m_UpdateOrientation; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateLocation = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsUpdateLocation
        {
            get { return m_UpdateLocation; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateMap = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsUpdateMap
        {
            get { return m_UpdateMap; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateName = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsUpdateName
        {
            get { return m_UpdateName; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateCreatureTemplate = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsUpdateCreatureTemplate
        {
            get { return m_UpdateCreatureTemplate; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateLoots = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsUpdateLoots
        {
            get { return m_UpdateLoots; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateGoldLoots = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsUpdateGoldLoots
        {
            get { return m_UpdateGoldLoots; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateMoveToCall = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsMoveToCall
        {
            get { return m_UpdateMoveToCall; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateMoveToWorldCall = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsMoveToWorldCall
        {
            get { return m_UpdateMoveToWorldCall; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateDeathCall = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsDeathCall
        {
            get { return m_UpdateDeathCall; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateRevivalCall = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsRevivalCall
        {
            get { return m_UpdateRevivalCall; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateAddItemCall = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsAddItemCall
        {
            get { return m_UpdateAddItemCall; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateRemoveItemCall = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsRemoveItemCall
        {
            get { return m_UpdateRemoveItemCall; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateAddFriendCall = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsAddFriendCall
        {
            get { return m_UpdateAddFriendCall; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateRemoveFriendCall = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsRemoveFriendCall
        {
            get { return m_UpdateRemoveFriendCall; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateAddGroupCall = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsAddGroupCall
        {
            get { return m_UpdateAddGroupCall; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateRemoveGroupCall = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsRemoveGroupCall
        {
            get { return m_UpdateRemoveGroupCall; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateAddPartyCall = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsAddPartyCall
        {
            get { return m_UpdateAddPartyCall; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_UpdateRemovePartyCall = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsRemovePartyCall
        {
            get { return m_UpdateRemovePartyCall; }
        }
        #endregion

        #region zh-CHS 共有方法 | en Public Methods
        /// <summary>
        /// 
        /// </summary>
        internal void UpdateSerial()
        {
            m_UpdateSerial = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateX()
        {
            m_UpdateX = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateY()
        {
            m_UpdateY = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateZ()
        {
            m_UpdateZ = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateOrientation()
        {
            m_UpdateOrientation = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateLocation()
        {
            m_UpdateLocation = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateMap()
        {
            m_UpdateMap = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateName()
        {
            m_UpdateName = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateCreatureTemplate()
        {
            m_UpdateCreatureTemplate = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateLoots()
        {
            m_UpdateLoots = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateGoldLoots()
        {
            m_UpdateGoldLoots = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateMoveToCall()
        {
            m_UpdateMoveToCall = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateMoveToWorldCall()
        {
            m_UpdateMoveToWorldCall = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateDeathCall()
        {
            m_UpdateDeathCall = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateRevivalCall()
        {
            m_UpdateRevivalCall = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateAddItemCall()
        {
            m_UpdateAddItemCall = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateRemoveItemCall()
        {
            m_UpdateRemoveItemCall = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateAddFriendCall()
        {
            m_UpdateAddFriendCall = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateRemoveFriendCall()
        {
            m_UpdateRemoveFriendCall = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateAddGroupCall()
        {
            m_UpdateAddGroupCall = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateRemoveGroupCall()
        {
            m_UpdateRemoveGroupCall = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateAddPartyCall()
        {
            m_UpdateAddPartyCall = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void UpdateRemovePartyCall()
        {
            m_UpdateRemovePartyCall = true;
        }

        /// <summary>
        /// 
        /// </summary>
        internal void RestoreAll()
        {
            m_UpdateSerial = false;
            m_UpdateX = false;
            m_UpdateY = false;
            m_UpdateZ = false;
            m_UpdateLocation = false;
            m_UpdateOrientation = false;
            m_UpdateMap = false;
            m_UpdateName = false;
            m_UpdateCreatureTemplate = false;
            m_UpdateLoots = false;
            m_UpdateGoldLoots = false;
            m_UpdateMoveToCall = false;
            m_UpdateMoveToWorldCall = false;
            m_UpdateDeathCall = false;
            m_UpdateRevivalCall = false;
            m_UpdateAddItemCall = false;
            m_UpdateRemoveItemCall = false;
            m_UpdateAddFriendCall = false;
            m_UpdateRemoveFriendCall = false;
            m_UpdateAddGroupCall = false;
            m_UpdateRemoveGroupCall = false;
            m_UpdateAddPartyCall = false;
            m_UpdateRemovePartyCall = false;
        }
        #endregion
    }
}
#endregion

